﻿@model IEnumerable<PessMvc.Models.AuthorModel>
@if (Model != null)
{
    var grid = new WebGrid(Model, rowsPerPage: 1000);
    
    @grid.GetHtml(columns: grid.Columns(
        grid.Column(header: "□", style: "u-chk-th", format: @<text><input name="AuthorSN" type="checkbox" value="@item.SerialNumber" /></text>),
        grid.Column("SerialNumber", header: "用户编号", style:"col1"),
        grid.Column("RealName", header: "真实姓名", style:"col2"),
        grid.Column("Phone", header: "电话", style:"col5"),
        grid.Column("ContactAddress", header: "通讯地址", style:"col5"),
        grid.Column("ZipCode", header: "邮政编码", style:"col5")
    ))
}